package com.ppc.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.time.LocalDateTime;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 聊天消息的一条数据
 *
 * @author jianKangS1
 * @date 2023/12/20
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(description = "聊天消息的一条数据")
public class MessageVO {

  @ApiModelProperty("发送用户的id")
  private Long userId;

  @ApiModelProperty("发送用户的姓名")
  private String userName;

  @ApiModelProperty("消息状态 0 未读 1 已读")
  private Integer messageStatus;


  @ApiModelProperty("消息内容")
  private String messageContent;

  @ApiModelProperty("发送消息的时间")
  private LocalDateTime messageTime;
}
